package xa.woniu.entity;

import java.io.Serializable;

/**
 * record
 * @author 
 */
public class Record implements Serializable {
    private Integer rid;

    private String rnum;

    private Integer rtag;

    private String rdate1;

    private String rdate2;

    private String runame;

    private Integer rdeid;

    private Integer rcid;

    private Integer rdid;

    private Integer ramount;

    private Integer rnid;

    private String rdate3;

    private Integer rflag;

    private static final long serialVersionUID = 1L;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRnum() {
        return rnum;
    }

    public void setRnum(String rnum) {
        this.rnum = rnum;
    }

    public Integer getRtag() {
        return rtag;
    }

    public void setRtag(Integer rtag) {
        this.rtag = rtag;
    }

    public String getRdate1() {
        return rdate1;
    }

    public void setRdate1(String rdate1) {
        this.rdate1 = rdate1;
    }

    public String getRdate2() {
        return rdate2;
    }

    public void setRdate2(String rdate2) {
        this.rdate2 = rdate2;
    }

    public String getRuname() {
        return runame;
    }

    public void setRuname(String runame) {
        this.runame = runame;
    }

    public Integer getRdeid() {
        return rdeid;
    }

    public void setRdeid(Integer rdeid) {
        this.rdeid = rdeid;
    }

    public Integer getRcid() {
        return rcid;
    }

    public void setRcid(Integer rcid) {
        this.rcid = rcid;
    }

    public Integer getRdid() {
        return rdid;
    }

    public void setRdid(Integer rdid) {
        this.rdid = rdid;
    }

    public Integer getRamount() {
        return ramount;
    }

    public void setRamount(Integer ramount) {
        this.ramount = ramount;
    }

    public Integer getRnid() {
        return rnid;
    }

    public void setRnid(Integer rnid) {
        this.rnid = rnid;
    }

    public String getRdate3() {
        return rdate3;
    }

    public void setRdate3(String rdate3) {
        this.rdate3 = rdate3;
    }

    public Integer getRflag() {
        return rflag;
    }

    public void setRflag(Integer rflag) {
        this.rflag = rflag;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Record other = (Record) that;
        return (this.getRid() == null ? other.getRid() == null : this.getRid().equals(other.getRid()))
            && (this.getRnum() == null ? other.getRnum() == null : this.getRnum().equals(other.getRnum()))
            && (this.getRtag() == null ? other.getRtag() == null : this.getRtag().equals(other.getRtag()))
            && (this.getRdate1() == null ? other.getRdate1() == null : this.getRdate1().equals(other.getRdate1()))
            && (this.getRdate2() == null ? other.getRdate2() == null : this.getRdate2().equals(other.getRdate2()))
            && (this.getRuname() == null ? other.getRuname() == null : this.getRuname().equals(other.getRuname()))
            && (this.getRdeid() == null ? other.getRdeid() == null : this.getRdeid().equals(other.getRdeid()))
            && (this.getRcid() == null ? other.getRcid() == null : this.getRcid().equals(other.getRcid()))
            && (this.getRdid() == null ? other.getRdid() == null : this.getRdid().equals(other.getRdid()))
            && (this.getRamount() == null ? other.getRamount() == null : this.getRamount().equals(other.getRamount()))
            && (this.getRnid() == null ? other.getRnid() == null : this.getRnid().equals(other.getRnid()))
            && (this.getRdate3() == null ? other.getRdate3() == null : this.getRdate3().equals(other.getRdate3()))
            && (this.getRflag() == null ? other.getRflag() == null : this.getRflag().equals(other.getRflag()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getRid() == null) ? 0 : getRid().hashCode());
        result = prime * result + ((getRnum() == null) ? 0 : getRnum().hashCode());
        result = prime * result + ((getRtag() == null) ? 0 : getRtag().hashCode());
        result = prime * result + ((getRdate1() == null) ? 0 : getRdate1().hashCode());
        result = prime * result + ((getRdate2() == null) ? 0 : getRdate2().hashCode());
        result = prime * result + ((getRuname() == null) ? 0 : getRuname().hashCode());
        result = prime * result + ((getRdeid() == null) ? 0 : getRdeid().hashCode());
        result = prime * result + ((getRcid() == null) ? 0 : getRcid().hashCode());
        result = prime * result + ((getRdid() == null) ? 0 : getRdid().hashCode());
        result = prime * result + ((getRamount() == null) ? 0 : getRamount().hashCode());
        result = prime * result + ((getRnid() == null) ? 0 : getRnid().hashCode());
        result = prime * result + ((getRdate3() == null) ? 0 : getRdate3().hashCode());
        result = prime * result + ((getRflag() == null) ? 0 : getRflag().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", rid=").append(rid);
        sb.append(", rnum=").append(rnum);
        sb.append(", rtag=").append(rtag);
        sb.append(", rdate1=").append(rdate1);
        sb.append(", rdate2=").append(rdate2);
        sb.append(", runame=").append(runame);
        sb.append(", rdeid=").append(rdeid);
        sb.append(", rcid=").append(rcid);
        sb.append(", rdid=").append(rdid);
        sb.append(", ramount=").append(ramount);
        sb.append(", rnid=").append(rnid);
        sb.append(", rdate3=").append(rdate3);
        sb.append(", rflag=").append(rflag);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}